package bravo.xc.com.xc_bravo_android.beans;

import java.util.List;

/**
 * CREATED BY YANK
 * DATE : 2017/11/5
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public class GetCardResultBeans {

    /**
     * msg : 用户银行卡获取成功
     * code : 1
     * data : [{"bankName":"中国农业银行","bankNum":"2661561213151","isDefault":false,"id":15,"userId":248,"realname":"waimai01"},{"bankName":"中国农业银行","bankNum":"2661561213151","isDefault":false,"id":16,"userId":248,"realname":"waimai01"}]
     */

    private String msg;
    private int code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * bankName : 中国农业银行
         * bankNum : 2661561213151
         * isDefault : false
         * id : 15
         * userId : 248
         * realname : waimai01
         */

        private String bankName;
        private String bankNum;
        private boolean isDefault;
        private int id;
        private int userId;
        private String realname;

        public String getBankName() {
            return bankName;
        }

        public void setBankName(String bankName) {
            this.bankName = bankName;
        }

        public String getBankNum() {
            return bankNum;
        }

        public void setBankNum(String bankNum) {
            this.bankNum = bankNum;
        }

        public boolean isIsDefault() {
            return isDefault;
        }

        public void setIsDefault(boolean isDefault) {
            this.isDefault = isDefault;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }
    }
}
